package com.warski.wonderfires.utils;

/**
 * Created by xuhaiping on 2020/8/29.
 */
public class StringUtils {
    public static boolean isEmpty(String str) {
        return ((str == null) || (str.length() == 0)) || str.compareToIgnoreCase("null") == 0;
    }

    public static boolean isNotEmpty(String str) {
        return ((str != null) && (str.length() > 0)) && str.compareToIgnoreCase("null") != 0;
    }
}
